]> dgit.raspbian.org Git - gnome-shell.git/commit
appFavorites: Only use renamed ID if it can be resolved
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 4 Mar 2015 18:01:32 +0000 (19:01 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 15 Feb 2017 22:20:14 +0000 (23:20 +0100)
commit2c5bc4a1a9543fb73d348ee48781ad23c6053258
tree4de5a24b0b70de96b4e258f72d44933b7fc70a92
parentfa82af251f31d14502fe7a3096c03af707b3bc20
appFavorites: Only use renamed ID if it can be resolved

We currently assume that if a .desktop file has been renamed (that
is, it is in our rename list), the updated ID will be used. That
assumption was mostly sound when the list contained only GNOME apps
following the same release cycle as gnome-shell, but as applications
with less ties to the GNOME schedule adopt the reverse DNS notation,
it becomes more likely for apps to appear in the list before actually
being updated on the system. Handle this case by only renaming IDs
for which the replacement can be resolved to an existing application.

https://bugzilla.gnome.org/show_bug.cgi?id=745626
js/ui/appFavorites.js